The use of a savepoint to roll back part of a transaction in the case of an infrequent error can be more efficient than having each transaction test to see if an update is valid before making the update 在不频繁发生错误的情况下使用保存点回滚部分事务,其效果好于在执行更新前测试各事务以查看更新是否有效。